package com.example.studentmanagement.util;

import android.util.Log;
import android.widget.EditText;

public class ToolsUtil {

    public static String editTextToString(EditText editText){

        if (editText==null){
            return "";
        }else{
            Log.d("login",editText.getText().toString());
            return editText.getText().toString().trim();
        }

    }





}
